/*
 * App.java Copyright 2011 Emilio Simoes This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1
 * of the License, or (at your option) any later version. This library is distributed in the hope that it will be
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU
 * Lesser General Public License along with this library. If not, see <http://www.gnu.org/licenses/>. Created on 3 de
 * Dez de 2011 by emilio
 */
package pt.isec.gps.fastnote;

import javax.swing.UIManager;

/**
 * Main class for the FastNote application.
 * 
 * @author Emilio Simoes
 * @version $Revision$
 */
public class App {

    /**
     * Main entry point of the application.
     * 
     * @param args The arguments passed in the command line.
     */
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e) {
        }
        javax.swing.SwingUtilities.invokeLater(new Runnable() {

            /*
             * (non-Javadoc)
             * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
             */
            @Override
            public void run() {
                MainWindow mainWindow = new MainWindow();
                mainWindow.setVisible(true);
            }
        });
    }
}
